<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.js"></script>
    <style>
        .box{
            background-color: pink;
            width: 100%;
            height: 200px;
        }

        .inner{
            background-color: red;
            width: 500px;
            height: 100px;

        }
    </style>
<head>

<body>
    <div>
        <div id="app">
            <div v-bind:style="{backgroundColor:pink,width:width,height:height}">

            </div>

            <div v-bind:style="myDiv">

            </div>

            <div v-bind:class="{box}">

            </div>
            
            <div v-bind:class="{inner}">


            </div>
        </div>
    </div>
    <script>
        var vm=new Vue({
    el:'#app',
            data:{
                pink:'pink',
                width:'width',
                height:'height',
                myDiv{
                    backgroundColor:'red',
                    width:'500px',
                    height:'100px'
                },
                box:'box',
                inner:'inner',
            }
        })
    </script>
    
</body>
</html>